package com.md.album.ui;

import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.listener.OnItemClickListener;
import com.living.player.ui.recently.adapter.RecentlyAudioAdapter;
import com.md.album.R;
import com.md.album.db.SelfAlbumManager;
import com.md.basedpc.base.BaseFragment;
import com.md.network.api.Audio;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class SelfAudioBatchFragment extends AbstractSelectAudioFragment {

    @Override
    protected void initData(){
        Intent intent = getActivity().getIntent();
        String albumId = intent.getStringExtra(SelfAudioBatchActivity.SELF_ALBUM_ID);
        if (!TextUtils.isEmpty(albumId)){
            audioList = SelfAlbumManager.getIns().getAudiosByAlbumId(albumId);
            taskItemAdapter.setNewInstance(audioList);
        }
    }


}
